package ruleta_wicket.ruleta_wicket;

import org.apache.wicket.protocol.http.WebApplication;

import domain.Table;

public class WicketApplication extends WebApplication
{    
	private  Table table;

	public WicketApplication()
	{
		this.table = new Table(); 
	}
	

	public Class getHomePage(){
		return HomePage.class;
	}
	
	public Table getTable() {
		return table;
	}
	
	public void setTable(Table table) {
		this.table = table;
	}
	
	public static WicketApplication getApplication(){
		return  (WicketApplication) get() ;
	}
}
